home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1997 February / EnigmA AMIGA RUN 15 (1997)(G.R. Edizioni)(IT)[!][issue 1997-02][PLANET CD V].iso / enigma / earcd / sviluppo / svilupp2 / hw2sgf39.lha / How2UseGfxV39 / Spectrum.h < prev    next >
C/C++ Source or Header  |  1996-11-23  |  8KB  |  227 lines

  1. /*
  2.     Data for "Spectrum" Color Table
  3. */
  4.  
  5. #include <exec/types.h>
  6. #include <intuition/intuition.h>
  7.  
  8. #define SPECTRUM_COLORS 210
  9.  
  10. struct SpectrumColors
  11. {
  12.     ULONG Red,Green,Blue;
  13. } SpectrumRGB32[] =
  14. {
  15.     { 0xFFFFFFFF,0x00000000,0x00000000 },
  16.     { 0xFFFFFFFF,0x07777777,0x00000000 },
  17.     { 0xFFFFFFFF,0x0FFFFFFF,0x00000000 },
  18.     { 0xFFFFFFFF,0x16666666,0x00000000 },
  19.     { 0xFFFFFFFF,0x1DDDDDDD,0x00000000 },
  20.     { 0xFFFFFFFF,0x24444444,0x00000000 },
  21.     { 0xFFFFFFFF,0x2CCCCCCC,0x00000000 },
  22.     { 0xFFFFFFFF,0x33333333,0x00000000 },
  23.     { 0xFFFFFFFF,0x3AAAAAAA,0x00000000 },
  24.     { 0xFFFFFFFF,0x42222222,0x00000000 },
  25.     { 0xFFFFFFFF,0x49999999,0x00000000 },
  26.     { 0xFFFFFFFF,0x50000000,0x00000000 },
  27.     { 0xFFFFFFFF,0x57777777,0x00000000 },
  28.     { 0xFFFFFFFF,0x5FFFFFFF,0x00000000 },
  29.     { 0xFFFFFFFF,0x66666666,0x00000000 },
  30.     { 0xFFFFFFFF,0x6DDDDDDD,0x00000000 },
  31.     { 0xFFFFFFFF,0x75555555,0x00000000 },
  32.     { 0xFFFFFFFF,0x7CCCCCCC,0x00000000 },
  33.     { 0xFFFFFFFF,0x83333333,0x00000000 },
  34.     { 0xFFFFFFFF,0x8AAAAAAA,0x00000000 },
  35.     { 0xFFFFFFFF,0x92222222,0x00000000 },
  36.     { 0xFFFFFFFF,0x99999999,0x00000000 },
  37.     { 0xFFFFFFFF,0xA0000000,0x00000000 },
  38.     { 0xFFFFFFFF,0xA8888888,0x00000000 },
  39.     { 0xFFFFFFFF,0xAFFFFFFF,0x00000000 },
  40.     { 0xFFFFFFFF,0xB6666666,0x00000000 },
  41.     { 0xFFFFFFFF,0xBDDDDDDD,0x00000000 },
  42.     { 0xFFFFFFFF,0xC5555555,0x00000000 },
  43.     { 0xFFFFFFFF,0xCCCCCCCC,0x00000000 },
  44.     { 0xFFFFFFFF,0xD3333333,0x00000000 },
  45.     { 0xFFFFFFFF,0xDBBBBBBB,0x00000000 },
  46.     { 0xFFFFFFFF,0xE2222222,0x00000000 },
  47.     { 0xFFFFFFFF,0xE9999999,0x00000000 },
  48.     { 0xFFFFFFFF,0xF0000000,0x00000000 },
  49.     { 0xFFFFFFFF,0xF8888888,0x00000000 },
  50.     { 0xFFFFFFFF,0xFFFFFFFF,0x00000000 },
  51.     { 0xF8888888,0xFFFFFFFF,0x00000000 },
  52.     { 0xF0000000,0xFFFFFFFF,0x00000000 },
  53.     { 0xE9999999,0xFFFFFFFF,0x00000000 },
  54.     { 0xE2222222,0xFFFFFFFF,0x00000000 },
  55.     { 0xDBBBBBBB,0xFFFFFFFF,0x00000000 },
  56.     { 0xD3333333,0xFFFFFFFF,0x00000000 },
  57.     { 0xCCCCCCCC,0xFFFFFFFF,0x00000000 },
  58.     { 0xC5555555,0xFFFFFFFF,0x00000000 },
  59.     { 0xBDDDDDDD,0xFFFFFFFF,0x00000000 },
  60.     { 0xB6666666,0xFFFFFFFF,0x00000000 },
  61.     { 0xAFFFFFFF,0xFFFFFFFF,0x00000000 },
  62.     { 0xA8888888,0xFFFFFFFF,0x00000000 },
  63.     { 0xA0000000,0xFFFFFFFF,0x00000000 },
  64.     { 0x99999999,0xFFFFFFFF,0x00000000 },
  65.     { 0x92222222,0xFFFFFFFF,0x00000000 },
  66.     { 0x8AAAAAAA,0xFFFFFFFF,0x00000000 },
  67.     { 0x83333333,0xFFFFFFFF,0x00000000 },
  68.     { 0x7CCCCCCC,0xFFFFFFFF,0x00000000 },
  69.     { 0x75555555,0xFFFFFFFF,0x00000000 },
  70.     { 0x6DDDDDDD,0xFFFFFFFF,0x00000000 },
  71.     { 0x66666666,0xFFFFFFFF,0x00000000 },
  72.     { 0x5FFFFFFF,0xFFFFFFFF,0x00000000 },
  73.     { 0x57777777,0xFFFFFFFF,0x00000000 },
  74.     { 0x50000000,0xFFFFFFFF,0x00000000 },
  75.     { 0x49999999,0xFFFFFFFF,0x00000000 },
  76.     { 0x42222222,0xFFFFFFFF,0x00000000 },
  77.     { 0x3AAAAAAA,0xFFFFFFFF,0x00000000 },
  78.     { 0x33333333,0xFFFFFFFF,0x00000000 },
  79.     { 0x2CCCCCCC,0xFFFFFFFF,0x00000000 },
  80.     { 0x24444444,0xFFFFFFFF,0x00000000 },
  81.     { 0x1DDDDDDD,0xFFFFFFFF,0x00000000 },
  82.     { 0x16666666,0xFFFFFFFF,0x00000000 },
  83.     { 0x0FFFFFFF,0xFFFFFFFF,0x00000000 },
  84.     { 0x07777777,0xFFFFFFFF,0x00000000 },
  85.     { 0x00000000,0xFFFFFFFF,0x00000000 },
  86.     { 0x00000000,0xFFFFFFFF,0x07777777 },
  87.     { 0x00000000,0xFFFFFFFF,0x0FFFFFFF },
  88.     { 0x00000000,0xFFFFFFFF,0x16666666 },
  89.     { 0x00000000,0xFFFFFFFF,0x1DDDDDDD },
  90.     { 0x00000000,0xFFFFFFFF,0x24444444 },
  91.     { 0x00000000,0xFFFFFFFF,0x2CCCCCCC },
  92.     { 0x00000000,0xFFFFFFFF,0x33333333 },
  93.     { 0x00000000,0xFFFFFFFF,0x3AAAAAAA },
  94.     { 0x00000000,0xFFFFFFFF,0x42222222 },
  95.     { 0x00000000,0xFFFFFFFF,0x49999999 },
  96.     { 0x00000000,0xFFFFFFFF,0x50000000 },
  97.     { 0x00000000,0xFFFFFFFF,0x57777777 },
  98.     { 0x00000000,0xFFFFFFFF,0x5FFFFFFF },
  99.     { 0x00000000,0xFFFFFFFF,0x66666666 },
  100.     { 0x00000000,0xFFFFFFFF,0x6DDDDDDD },
  101.     { 0x00000000,0xFFFFFFFF,0x75555555 },
  102.     { 0x00000000,0xFFFFFFFF,0x7CCCCCCC },
  103.     { 0x00000000,0xFFFFFFFF,0x83333333 },
  104.     { 0x00000000,0xFFFFFFFF,0x8AAAAAAA },
  105.     { 0x00000000,0xFFFFFFFF,0x92222222 },
  106.     { 0x00000000,0xFFFFFFFF,0x99999999 },
  107.     { 0x00000000,0xFFFFFFFF,0xA0000000 },
  108.     { 0x00000000,0xFFFFFFFF,0xA8888888 },
  109.     { 0x00000000,0xFFFFFFFF,0xAFFFFFFF },
  110.     { 0x00000000,0xFFFFFFFF,0xB6666666 },
  111.     { 0x00000000,0xFFFFFFFF,0xBDDDDDDD },
  112.     { 0x00000000,0xFFFFFFFF,0xC5555555 },
  113.     { 0x00000000,0xFFFFFFFF,0xCCCCCCCC },
  114.     { 0x00000000,0xFFFFFFFF,0xD3333333 },
  115.     { 0x00000000,0xFFFFFFFF,0xDBBBBBBB },
  116.     { 0x00000000,0xFFFFFFFF,0xE2222222 },
  117.     { 0x00000000,0xFFFFFFFF,0xE9999999 },
  118.     { 0x00000000,0xFFFFFFFF,0xF0000000 },
  119.     { 0x00000000,0xFFFFFFFF,0xF8888888 },
  120.     { 0x00000000,0xFFFFFFFF,0xFFFFFFFF },
  121.     { 0x00000000,0xF8888888,0xFFFFFFFF },
  122.     { 0x00000000,0xF0000000,0xFFFFFFFF },
  123.     { 0x00000000,0xE9999999,0xFFFFFFFF },
  124.     { 0x00000000,0xE2222222,0xFFFFFFFF },
  125.     { 0x00000000,0xDBBBBBBB,0xFFFFFFFF },
  126.     { 0x00000000,0xD3333333,0xFFFFFFFF },
  127.     { 0x00000000,0xCCCCCCCC,0xFFFFFFFF },
  128.     { 0x00000000,0xC5555555,0xFFFFFFFF },
  129.     { 0x00000000,0xBDDDDDDD,0xFFFFFFFF },
  130.     { 0x00000000,0xB6666666,0xFFFFFFFF },
  131.     { 0x00000000,0xAFFFFFFF,0xFFFFFFFF },
  132.     { 0x00000000,0xA8888888,0xFFFFFFFF },
  133.     { 0x00000000,0xA0000000,0xFFFFFFFF },
  134.     { 0x00000000,0x99999999,0xFFFFFFFF },
  135.     { 0x00000000,0x92222222,0xFFFFFFFF },
  136.     { 0x00000000,0x8AAAAAAA,0xFFFFFFFF },
  137.     { 0x00000000,0x83333333,0xFFFFFFFF },
  138.     { 0x00000000,0x7CCCCCCC,0xFFFFFFFF },
  139.     { 0x00000000,0x75555555,0xFFFFFFFF },
  140.     { 0x00000000,0x6DDDDDDD,0xFFFFFFFF },
  141.     { 0x00000000,0x66666666,0xFFFFFFFF },
  142.     { 0x00000000,0x5FFFFFFF,0xFFFFFFFF },
  143.     { 0x00000000,0x57777777,0xFFFFFFFF },
  144.     { 0x00000000,0x50000000,0xFFFFFFFF },
  145.     { 0x00000000,0x49999999,0xFFFFFFFF },
  146.     { 0x00000000,0x42222222,0xFFFFFFFF },
  147.     { 0x00000000,0x3AAAAAAA,0xFFFFFFFF },
  148.     { 0x00000000,0x33333333,0xFFFFFFFF },
  149.     { 0x00000000,0x2CCCCCCC,0xFFFFFFFF },
  150.     { 0x00000000,0x24444444,0xFFFFFFFF },
  151.     { 0x00000000,0x1DDDDDDD,0xFFFFFFFF },
  152.     { 0x00000000,0x16666666,0xFFFFFFFF },
  153.     { 0x00000000,0x0FFFFFFF,0xFFFFFFFF },
  154.     { 0x00000000,0x07777777,0xFFFFFFFF },
  155.     { 0x00000000,0x00000000,0xFFFFFFFF },
  156.     { 0x07777777,0x00000000,0xFFFFFFFF },
  157.     { 0x0FFFFFFF,0x00000000,0xFFFFFFFF },
  158.     { 0x16666666,0x00000000,0xFFFFFFFF },
  159.     { 0x1DDDDDDD,0x00000000,0xFFFFFFFF },
  160.     { 0x24444444,0x00000000,0xFFFFFFFF },
  161.     { 0x2CCCCCCC,0x00000000,0xFFFFFFFF },
  162.     { 0x33333333,0x00000000,0xFFFFFFFF },
  163.     { 0x3AAAAAAA,0x00000000,0xFFFFFFFF },
  164.     { 0x42222222,0x00000000,0xFFFFFFFF },
  165.     { 0x49999999,0x00000000,0xFFFFFFFF },
  166.     { 0x50000000,0x00000000,0xFFFFFFFF },
  167.     { 0x57777777,0x00000000,0xFFFFFFFF },
  168.     { 0x5FFFFFFF,0x00000000,0xFFFFFFFF },
  169.     { 0x66666666,0x00000000,0xFFFFFFFF },
  170.     { 0x6DDDDDDD,0x00000000,0xFFFFFFFF },
  171.     { 0x75555555,0x00000000,0xFFFFFFFF },
  172.     { 0x7CCCCCCC,0x00000000,0xFFFFFFFF },
  173.     { 0x83333333,0x00000000,0xFFFFFFFF },
  174.     { 0x8AAAAAAA,0x00000000,0xFFFFFFFF },
  175.     { 0x92222222,0x00000000,0xFFFFFFFF },
  176.     { 0x99999999,0x00000000,0xFFFFFFFF },
  177.     { 0xA0000000,0x00000000,0xFFFFFFFF },
  178.     { 0xA8888888,0x00000000,0xFFFFFFFF },
  179.     { 0xAFFFFFFF,0x00000000,0xFFFFFFFF },
  180.     { 0xB6666666,0x00000000,0xFFFFFFFF },
  181.     { 0xBDDDDDDD,0x00000000,0xFFFFFFFF },
  182.     { 0xC5555555,0x00000000,0xFFFFFFFF },
  183.     { 0xCCCCCCCC,0x00000000,0xFFFFFFFF },
  184.     { 0xD3333333,0x00000000,0xFFFFFFFF },
  185.     { 0xDBBBBBBB,0x00000000,0xFFFFFFFF },
  186.     { 0xE2222222,0x00000000,0xFFFFFFFF },
  187.     { 0xE9999999,0x00000000,0xFFFFFFFF },
  188.     { 0xF0000000,0x00000000,0xFFFFFFFF },
  189.     { 0xF8888888,0x00000000,0xFFFFFFFF },
  190.     { 0xFFFFFFFF,0x00000000,0xFFFFFFFF },
  191.     { 0xFFFFFFFF,0x00000000,0xF8888888 },
  192.     { 0xFFFFFFFF,0x00000000,0xF0000000 },
  193.     { 0xFFFFFFFF,0x00000000,0xE9999999 },
  194.     { 0xFFFFFFFF,0x00000000,0xE2222222 },
  195.     { 0xFFFFFFFF,0x00000000,0xDBBBBBBB },
  196.     { 0xFFFFFFFF,0x00000000,0xD3333333 },
  197.     { 0xFFFFFFFF,0x00000000,0xCCCCCCCC },
  198.     { 0xFFFFFFFF,0x00000000,0xC5555555 },
  199.     { 0xFFFFFFFF,0x00000000,0xBDDDDDDD },
  200.     { 0xFFFFFFFF,0x00000000,0xB6666666 },
  201.     { 0xFFFFFFFF,0x00000000,0xAFFFFFFF },
  202.     { 0xFFFFFFFF,0x00000000,0xA8888888 },
  203.     { 0xFFFFFFFF,0x00000000,0xA0000000 },
  204.     { 0xFFFFFFFF,0x00000000,0x99999999 },
  205.     { 0xFFFFFFFF,0x00000000,0x92222222 },
  206.     { 0xFFFFFFFF,0x00000000,0x8AAAAAAA },
  207.     { 0xFFFFFFFF,0x00000000,0x83333333 },
  208.     { 0xFFFFFFFF,0x00000000,0x7CCCCCCC },
  209.     { 0xFFFFFFFF,0x00000000,0x75555555 },
  210.     { 0xFFFFFFFF,0x00000000,0x6DDDDDDD },
  211.     { 0xFFFFFFFF,0x00000000,0x66666666 },
  212.     { 0xFFFFFFFF,0x00000000,0x5FFFFFFF },
  213.     { 0xFFFFFFFF,0x00000000,0x57777777 },
  214.     { 0xFFFFFFFF,0x00000000,0x50000000 },
  215.     { 0xFFFFFFFF,0x00000000,0x49999999 },
  216.     { 0xFFFFFFFF,0x00000000,0x42222222 },
  217.     { 0xFFFFFFFF,0x00000000,0x3AAAAAAA },
  218.     { 0xFFFFFFFF,0x00000000,0x33333333 },
  219.     { 0xFFFFFFFF,0x00000000,0x2CCCCCCC },
  220.     { 0xFFFFFFFF,0x00000000,0x24444444 },
  221.     { 0xFFFFFFFF,0x00000000,0x1DDDDDDD },
  222.     { 0xFFFFFFFF,0x00000000,0x16666666 },
  223.     { 0xFFFFFFFF,0x00000000,0x0FFFFFFF },
  224.     { 0xFFFFFFFF,0x00000000,0x07777777 },
  225.     { 0xFFFFFFFF,0x00000000,0x00000000 },
  226. };
  227.